package com.chinasofti.objectdemo2;

public class Test01 {
    public static void main(String[] args) {
            Student s1 = new Student();
            s1.setName(" 郭建建");
            s1.setAge(18);
            Student s2 = new Student();
            s2.setName(" 郭建建");
            s2.setAge(18);
        // 需求，比较两个
        System.out.println(s1.equals(s2));
    }
}
